package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 耗材包与耗材对照对象 service_packagessupplies
 * 
 * @author ZDL
 * @date 2024-10-21
 */
public class ServicePackagessupplies extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 耗材包与耗材对照主键ID */
    private Long packagessuppliesId;

    /** 耗材包ID */
    @Excel(name = "耗材包ID")
    private Long packagessuppliesPackagesid;

    /** 耗材ID */
    @Excel(name = "耗材ID")
    private Long packagessuppliesSuppliesid;

    /** 耗材数量 */
    @Excel(name = "耗材数量")
    private Long packagessuppliesCount;

    /** 合计 */
    @Excel(name = "合计")
    private Long packagessuppliesPrice;

    /** 创建者 */
    @Excel(name = "创建者")
    private String packagessuppliesCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date packagessuppliesCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String packagessuppliesUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date packagessuppliesUpdateTime;

    /** 启用标志（0代表启用 2代表不启用） */
    @Excel(name = "启用标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String packagessuppliesUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String packagessuppliesDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String packagessuppliesRemark;

    /** 材料ID */
    @Excel(name = "材料ID")
    private Long packagessuppliesMaterialid;

    public void setPackagessuppliesId(Long packagessuppliesId) 
    {
        this.packagessuppliesId = packagessuppliesId;
    }

    public Long getPackagessuppliesId() 
    {
        return packagessuppliesId;
    }
    public void setPackagessuppliesPackagesid(Long packagessuppliesPackagesid) 
    {
        this.packagessuppliesPackagesid = packagessuppliesPackagesid;
    }

    public Long getPackagessuppliesPackagesid() 
    {
        return packagessuppliesPackagesid;
    }
    public void setPackagessuppliesSuppliesid(Long packagessuppliesSuppliesid) 
    {
        this.packagessuppliesSuppliesid = packagessuppliesSuppliesid;
    }

    public Long getPackagessuppliesSuppliesid() 
    {
        return packagessuppliesSuppliesid;
    }
    public void setPackagessuppliesCount(Long packagessuppliesCount) 
    {
        this.packagessuppliesCount = packagessuppliesCount;
    }

    public Long getPackagessuppliesCount() 
    {
        return packagessuppliesCount;
    }
    public void setPackagessuppliesPrice(Long packagessuppliesPrice) 
    {
        this.packagessuppliesPrice = packagessuppliesPrice;
    }

    public Long getPackagessuppliesPrice() 
    {
        return packagessuppliesPrice;
    }
    public void setPackagessuppliesCreateBy(String packagessuppliesCreateBy) 
    {
        this.packagessuppliesCreateBy = packagessuppliesCreateBy;
    }

    public String getPackagessuppliesCreateBy() 
    {
        return packagessuppliesCreateBy;
    }
    public void setPackagessuppliesCreateTime(Date packagessuppliesCreateTime) 
    {
        this.packagessuppliesCreateTime = packagessuppliesCreateTime;
    }

    public Date getPackagessuppliesCreateTime() 
    {
        return packagessuppliesCreateTime;
    }
    public void setPackagessuppliesUpdateBy(String packagessuppliesUpdateBy) 
    {
        this.packagessuppliesUpdateBy = packagessuppliesUpdateBy;
    }

    public String getPackagessuppliesUpdateBy() 
    {
        return packagessuppliesUpdateBy;
    }
    public void setPackagessuppliesUpdateTime(Date packagessuppliesUpdateTime) 
    {
        this.packagessuppliesUpdateTime = packagessuppliesUpdateTime;
    }

    public Date getPackagessuppliesUpdateTime() 
    {
        return packagessuppliesUpdateTime;
    }
    public void setPackagessuppliesUseFlag(String packagessuppliesUseFlag) 
    {
        this.packagessuppliesUseFlag = packagessuppliesUseFlag;
    }

    public String getPackagessuppliesUseFlag() 
    {
        return packagessuppliesUseFlag;
    }
    public void setPackagessuppliesDelFlag(String packagessuppliesDelFlag) 
    {
        this.packagessuppliesDelFlag = packagessuppliesDelFlag;
    }

    public String getPackagessuppliesDelFlag() 
    {
        return packagessuppliesDelFlag;
    }
    public void setPackagessuppliesRemark(String packagessuppliesRemark) 
    {
        this.packagessuppliesRemark = packagessuppliesRemark;
    }

    public String getPackagessuppliesRemark() 
    {
        return packagessuppliesRemark;
    }
    public void setPackagessuppliesMaterialid(Long packagessuppliesMaterialid) 
    {
        this.packagessuppliesMaterialid = packagessuppliesMaterialid;
    }

    public Long getPackagessuppliesMaterialid() 
    {
        return packagessuppliesMaterialid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("packagessuppliesId", getPackagessuppliesId())
            .append("packagessuppliesPackagesid", getPackagessuppliesPackagesid())
            .append("packagessuppliesSuppliesid", getPackagessuppliesSuppliesid())
            .append("packagessuppliesCount", getPackagessuppliesCount())
            .append("packagessuppliesPrice", getPackagessuppliesPrice())
            .append("packagessuppliesCreateBy", getPackagessuppliesCreateBy())
            .append("packagessuppliesCreateTime", getPackagessuppliesCreateTime())
            .append("packagessuppliesUpdateBy", getPackagessuppliesUpdateBy())
            .append("packagessuppliesUpdateTime", getPackagessuppliesUpdateTime())
            .append("packagessuppliesUseFlag", getPackagessuppliesUseFlag())
            .append("packagessuppliesDelFlag", getPackagessuppliesDelFlag())
            .append("packagessuppliesRemark", getPackagessuppliesRemark())
            .append("packagessuppliesMaterialid", getPackagessuppliesMaterialid())
            .toString();
    }
}
